<?php
/**
 * Created by PhpStorm.
 * User: user
 * Date: 2016/4/13
 * Time: 18:10
 */

?>

    <input type="text" name="a" value="a" id="a"/>
    <input type="button" value="提交"  onclick="submit()"/>

<script src="//cdn.bootcss.com/jquery/1.12.1/jquery.js"></script>
<script>
    function submit() {
        params = {};
        params.a = $("#a").val();
        $.post("", params, function(data) {
            alert(data);
//            setTimeout(function() {
                window.location.href = "http://shopbox.10000dt.com/test/father";
//            }, 1500);
        });
    }

</script>






